import { createWebHistory, createRouter } from 'vue-router'

// 公共路由
export const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('@/views/layout')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
